//
//  DetailTableViewCell.m
//  随拍
//
//  Created by lanou3g on 16/1/18.
//  Copyright © 2016年 Ashoka. All rights reserved.
//

#import "DetailTableViewCell.h"

@implementation DetailTableViewCell


-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        self.headBtn = [UIButton buttonWithType:UIButtonTypeCustom];
        self.headBtn.frame = CGRectMake(20, 10, 30, 30);
        
        [self.headBtn setImage:[UIImage imageNamed:@"2.jpg"] forState:UIControlStateNormal];
        
        [self.contentView addSubview:self.headBtn];
        
        
        self.nameLabel = [[UILabel alloc] initWithFrame:CGRectMake(80, 10, 80, 25)];
        
        self.nameLabel.backgroundColor = [UIColor lightGrayColor];
        
        [self.contentView addSubview:self.nameLabel];
        
        
        self.timeLabel = [[UILabel alloc]initWithFrame:CGRectMake(80, 60, 40, 20)];
        
        self.timeLabel.backgroundColor = [UIColor lightGrayColor];
        
        [self.contentView addSubview:self.timeLabel];
        
        self.seenLabel = [[UILabel alloc] initWithFrame:CGRectMake(140, 60, 40, 20)];
        
        self.seenLabel.backgroundColor = [UIColor lightGrayColor];
        
        [self.contentView addSubview:self.seenLabel];
 
        
    }
    
    return self;
}


- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
